package com.lmb.todo.pojo;

public class Group {

    private Integer id;

    private Integer userId;

    private Integer folderId;

    private Integer count;

    private String icon;

    private String gname;

    private String descr;

    private String createTime;

    private String updateTime;

    public Group() {}

    public Group(Integer userId, Integer folderId, String icon, String gname, String descr, String createTime, String updateTime, Integer count) {
        this.userId = userId;
        this.folderId = folderId;
        this.icon = icon;
        this.gname = gname;
        this.descr = descr;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.count = count;
    }

    public Group(Integer id, Integer userId, Integer folderId, String icon, String gname, String descr, String createTime, String updateTime, Integer count) {
        this.id = id;
        this.userId = userId;
        this.folderId = folderId;
        this.icon = icon;
        this.gname = gname;
        this.descr = descr;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.count = count;
    }

    public Integer getId() {
        return id;
    }

    public Integer getUserId() {
        return userId;
    }

    public Integer getFolderId() {
        return folderId;
    }

    public String getIcon() {
        return icon;
    }

    public String getGname() {
        return gname;
    }

    public String getDescr() {
        return descr;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public Integer getCount() {
        return count;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setFolderId(Integer folderId) {
        this.folderId = folderId;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Group{" +
                "id=" + id +
                ", userId=" + userId +
                ", folderId=" + folderId +
                ", icon='" + icon + '\'' +
                ", gname='" + gname + '\'' +
                ", descr='" + descr + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", count=" + count +
                '}';
    }
}
